package common.table;
import lovedna.resource.ITableSet;
class Tables { 
	public var map(default, null):TableMap;
	public var actor(default, null):TableActor;

	private var _list:Array<ITableSet>;
	public function new(){
		_list = [];
		map = addTable(new TableMap());
		actor = addTable(new TableActor());

	}
	private function addTable<T>(value:ITableSet):T
	{
		_list.push(value);
		return cast value;
	}
}